<!--#include file="Config.asp" -->
<!--#include file="_Inc/_Fun_Base64.asp"-->
<!--#include file="HeadTopLogin.asp"-->

<%
'base64Encode初始化
call initCodecs

ErrorMsg=Trim(request("ErrorMsg"))
%>
<table class="table table-condensed table-bordered">
<form name="form1" method="post" action="UserCheckLogin.asp" onSubmit="return CheckForm()">
<tr bgcolor='#ddeeff' height='30'>
<td>&nbsp;</td>
<td><strong>AnyPIM_Free 用户登录</strong></td>
</tr>
<tr>
<td align='right'>用户：</td>
<td>
<select name="UserName">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from Users order by id desc"
rs.open sql,conn,1,1
For u=1 To rs.recordcount
Password=Trim(rs("password"))
%>
<option value="<%=Trim(rs("username"))%>"><%=Trim(rs("username"))%></option>
<%
rs.movenext
Next
rs.close
%>
</select>
</td>
</tr>
<tr>
<td align='right'>密码：</td>
<td><input type="password" name="password" size="24" value='' /></td>
</tr>
<tr>
<td align='right'>验证：</td>
<td> <input type="text" name="code" size="10" maxlength="5" /> <img src="_Inc/_VerificationCode.asp" alt="看不清楚请点击刷新" onclick="this.SRC='_Inc/_VerificationCode.asp?t='+Math.random()"/></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="admin" value="登录 Login" />
<font color="#ff0000"><%=ErrorMsg%></font>

</td>
</tr>
<tr bgcolor='#f6f6f6'>
<td>&nbsp;</td>
<td><a href="http://54it.com/forum-59-1.html" target='_blank'>去54IT.COM社区获取初始密码</a></td>
</tr>

</form>
</table>


<script type="text/javascript">
function CheckForm() {
         if (document.form1.UserName.value=="")
           {
           alert("用户不能为空!");
           document.form1.UserName.focus();
           return false;
           }
         if (document.form1.Passwd.value=="")
           {
            alert("密码不能为空!");
            document.form1.Passwd.focus();
            return false;
           }
}
</script>


<!--#include file="Foot.asp" -->
